home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
planetkit
/
win95
/
dscript
/
slipmenu.scp
< prev
next >
Wrap
Text File
|
1995-07-11
|
1KB
|
55 lines
;
; This is a script file that demonstrates how
; to establish a SLIP connection with a host
; that uses a menu system.
;
; A script file must have a 'main' procedure.
; All script execution starts with this 'main'
; procedure.
;
; Main entry point to script
;
proc main
; Delay for 3 seconds first to allow host time
; to send initial characters.
delay 3
transmit "^M"
; Wait for the login prompt before entering
; the user ID
waitfor "username:"
transmit $USERID
transmit "^M"
; Enter the password
waitfor "password:"
transmit $PASSWORD
transmit "^M"
;
; This provider has a menu list like this:
;
; 1 : Our special GUI
; 2 : Establish slip connection
; 3 : Establish PPP connection
; 4 : Establish shell access
; 5 : Download our software
; 6 : Exit
;
; annex:
;
waitfor "annex:"
transmit "2^M" ; Choose SLIP connection
set ipaddr getip 2 ; Get the second IP address and use it
endproc